package com.appoint.buss.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.appoint.common.annotation.Excel;
import com.appoint.common.core.domain.BaseEntity;

/**
 * 参数配置对象 wx_inf_config
 *
 * @author appoint
 * @date 2022-12-03
 */
public class WxInfConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 配置编码 */
    @Excel(name = "配置编码")
    private String configCode;

    /** 描述 */
    @Excel(name = "描述")
    private String configDesc;

    /** 网络地址 */
    @Excel(name = "网络地址")
    private String apiUrl;

    /** 值 */
    @Excel(name = "值")
    private String value1;

    /** 值 */
    @Excel(name = "值")
    private String value2;

    /** 值 */
    @Excel(name = "值")
    private String value3;

    /** 值 */
    @Excel(name = "值")
    private String value4;

    /** 时间值 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间值", width = 30, dateFormat = "yyyy-MM-dd")
    private Date valueDate;

    /** 备注字段1 */
    @Excel(name = "备注字段1")
    private String extend1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String extend2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String extend3;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setConfigCode(String configCode)
    {
        this.configCode = configCode;
    }

    public String getConfigCode()
    {
        return configCode;
    }
    public void setConfigDesc(String configDesc)
    {
        this.configDesc = configDesc;
    }

    public String getConfigDesc()
    {
        return configDesc;
    }
    public void setApiUrl(String apiUrl)
    {
        this.apiUrl = apiUrl;
    }

    public String getApiUrl()
    {
        return apiUrl;
    }
    public void setValue1(String value1)
    {
        this.value1 = value1;
    }

    public String getValue1()
    {
        return value1;
    }
    public void setValue2(String value2)
    {
        this.value2 = value2;
    }

    public String getValue2()
    {
        return value2;
    }
    public void setValue3(String value3)
    {
        this.value3 = value3;
    }

    public String getValue3()
    {
        return value3;
    }
    public void setValue4(String value4)
    {
        this.value4 = value4;
    }

    public String getValue4()
    {
        return value4;
    }
    public void setValueDate(Date valueDate)
    {
        this.valueDate = valueDate;
    }

    public Date getValueDate()
    {
        return valueDate;
    }
    public void setExtend1(String extend1)
    {
        this.extend1 = extend1;
    }

    public String getExtend1()
    {
        return extend1;
    }
    public void setExtend2(String extend2)
    {
        this.extend2 = extend2;
    }

    public String getExtend2()
    {
        return extend2;
    }
    public void setExtend3(String extend3)
    {
        this.extend3 = extend3;
    }

    public String getExtend3()
    {
        return extend3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("configCode", getConfigCode())
            .append("configDesc", getConfigDesc())
            .append("apiUrl", getApiUrl())
            .append("value1", getValue1())
            .append("value2", getValue2())
            .append("value3", getValue3())
            .append("value4", getValue4())
            .append("valueDate", getValueDate())
            .append("extend1", getExtend1())
            .append("extend2", getExtend2())
            .append("extend3", getExtend3())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
